package com.gxkj.projects.myshopx.entitys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by dell on 2016/3/5.
 */
@Entity
@Table(name = "goods_attr")
public class GoodsAttr  extends BaseModel{
    private static final long serialVersionUID = 3781228332111849928L;

    @Column(name="goods_id",nullable = false)
    private  String goodsId;//

    @Column(name="attr_id",nullable = false)
    private  String attrId;//

    @Column(name="attr_value",nullable = false)
    private  String attrValue;//

    @Column(name="attr_price",nullable = false)
    private BigDecimal attrPrice;//

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getAttrId() {
        return attrId;
    }

    public void setAttrId(String attrId) {
        this.attrId = attrId;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }

    public BigDecimal getAttrPrice() {
        return attrPrice;
    }

    public void setAttrPrice(BigDecimal attrPrice) {
        this.attrPrice = attrPrice;
    }
}
